Menu
TAG

Java

Public, Private, Protected Access Modifiers and No Modifiers in Java
Java 12 min read

Public, Private, Protected Access Modifiers and No Modifiers in Java

Levels of AccessPrivateNo ModifierProtectedPublicSame ClassYesYesYesYesSame Package Sub ClassNo YesYesYesSame Package Non-Sub ClassNoYesYesYesDifferent Package Sub ClassNoNoYesYesDiffernt Package Non-Sub ClassNoNoNoYes Note – In this table, Sub Class means a child-parent relationship is involved between the two classes. If you do not understand the above table, do not worry because you will understand it after going through the complete article. Why I am writing this in-depth

JavaUncategorizedtutorial
Interfaces in Java
Java 3 min read

Interfaces in Java

We have already learned about the class. A class is a way of defining how an object would look and behave. A class contains variables and methods. Variables define how an object looks and feels. Methods inside a class define how an object behaves. An interface is a special type of class. We need to understand what makes an interface special. An interface is a way of defining that the object made using this interface will have to have the methods with its implementation declared in the in

JavaUncategorizedtutorial
new, switch and assert keywords in Java
Java 6 min read

new, switch and assert keywords in Java

As we talked about abstract, for and continue keywords in our last article. We will be talking about the new, switch, and assert keyword in Java. new When we create a class in Java and decide to use this class, we need to make an object of this class and using the object of the aforementioned class, we control and use the components of the class. An object of a class works like the handle of a motorbike. Suppose you need to control the bike; you need to hold the handle of this

JavaUncategorizedtutorial
Java Is A Language of 50 Keywords 'for'
Java 3 min read

Java Is A Language of 50 Keywords 'for'

As discussed in the previous article, we will be talking about 50 important keywords of Java. We have about the abstract keyword last time. This time we will discuss ‘for’ keyword. For The ‘for‘ a keyword is a loop keyword among several other loopings keywords. The other looping keywords are while loop, do-while loop. In programming, whenever we want to repeat the code multiple times, we need to use for loop. The people new to the programming repeat the code whenever they need to p

JavaUncategorizednews
Java Keywords - Java Is A Language of 50 Keywords
Java 3 min read

Java Keywords - Java Is A Language of 50 Keywords

Freshly we have studied Object Oriented Programming Concept, and this time we will be discussing the necessary keywords in Java programming. In any programming language, the number of keywords is huge, but some keywords come into use very frequently. Today, we will be talking about those keywords. Please have patience and wait for all the parts of this article because it is challenging to talk about all 50 keywords in one piece. Important Keywords in Java abstractfor continue newsw

JavaUncategorizedtutorial
Object-Oriented Programming Concepts
Java 11 min read

Object-Oriented Programming Concepts

Object-Oriented Programming Concepts, as you know, we are going to learn Java programming language. Java is an object-oriented programing language. Don’t worry about it if you do not understand what it is because I will explain it to you. Object-Oriented programming has two main things * Object * Class Note – An object is anything that you can see or touch, and a class is a way to decide how that object would like and behave. To understand the Object-Oriented Programmi

JavaUncategorizedtutorial
Types of Code Translator
Java 3 min read

Types of Code Translator

Before we start learning about the Java programming language and start talking about Class, Object, variables, etcetera, we need to talk about code translator. A code translator is a piece of code that the developer of the programming language creates. We know that we will be writing code in some programming language, and that code will make your computer do something. That is why we must understand how a computer will handle our code. Let us take an example to understand Let

JavaUncategorizedtutorial
History of Java
Java 3 min read

History of Java

Sun Microsystems first introduced Java in 1995. The project was started in the lab of Sun Microsystems by James Gosling, Mike Sheridan, Patrick Naughton. There were more people in the team, but these three were main. The name of this team was the Green Team. The first version’s name was the Java Alpha Beta version in 1995. Java Development Kit, also called JDK, was first introduced in 1996. When Sun Microsystems released the first version of Java in 1996, it was called JDK 1.0, and the c

JavaUncategorizednews