Skip to main content

Posts

Showing posts from May, 2023

Understanding Array In Detail

Hello everyone I am Raushan Ranjan In this post we are going to get the details of Array. We will discuss everything about array. Let's understand in detail An array is a data structure that allows you to store multiple values of the same type under a single variable name. It provides a way to organize and access a collection of elements using a contiguous block of memory. In most programming languages, arrays are zero-indexed, which means the first element is accessed with an index of 0, the second with an index of 1, and so on. The size or length of an array determines the number of elements it can store. Here's an example of declaring and initializing an array in different programming languages: C++ : int numbers[5]; // Declaration of an integer array of size 5 int numbers[] = {1, 2, 3, 4, 5}; // Declaration and initialization of an integer array with values numbers[0] = 10; // Assigning a value to the first element int x = numbers[2]; // Accessing the third element and sto...

Important Concept of OOPs

Hello Everyone I am Raushan Ranjan In this post we are going to cover the important concept of  OOPs. OOPs is an important key of programming language. We have to make our mind clear towards OOPs by understanding the each and every point given in this post. Let's jump into the main part OOP, or Object-Oriented Programming, is a way of writing code that helps us organize and manage our programs more effectively.  In OOP, we work with two main things: objects and classes. An object is something that represents a specific thing or concept in our program. For example, if we have a program about cars, an object could be a specific car like "Toyota Camry." Objects have characteristics or properties (like color, size, or speed) and can perform actions or behaviors (like accelerating or braking). A class , on the other hand, is like a blueprint or template for creating objects. It describes what properties an object will have and what actions it can perform. It defines the commo...

JAVA QUICK REVISION NOTES

Hello everyone I am RAUSHAN RANJAN In this post you are going to get all the neccessary that you need to learn in java . You don't need to search other places to get the exact detail.  I know many of you are new in programming. Don't worry, you will get every minor details that is required to understand java from Basics. Let's jump into the topic      1. DATA TYPES : Data types specify the type of data that a variable can store. In Java, there are two main categories of data types: a. Primitive Data Types: byte: represents a 1-byte integer (-128 to 127). short: represents a 2-byte integer (-32,768 to 32,767). int: represents a 4-byte integer (-2,147,483,648 to 2,147,483,647). long: represents an 8-byte integer (-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807). float: represents a 4-byte floating-point number with decimal precision. double: represents an 8-byte floating-point number with higher decimal precision. boolean: represents a boolean value (tru...

Top most basic question for coding interview for freshers

 Hello everyone I am Raushan Ranjan ow are you? Let's jump into the topic. Here you will have bunch of important question that you will need to understand the programming syntax and logic. These questions will let you completely understand the syntax of coding language. Always remember these question seems easy but you might forget while solving in front of interviewer. These questions are the most basic one. All you need to just understand the basic of programming logic and implement it. Why you need to focus on these simple question  Interviewer will throw these question to you at first, just to check is it worth to take your interview. They don't want to waste their time in that kind of student who don't even know single thing. They will analyze you by this way. Through this they can easily know if you have syntax knowledge of particular language or not. They are not going to ask you if you know coding or not instead they will throw these question to you. In a simpe man...