排序
Today class–28/12/2024 Variables ,TASK1 ,TASK 2
Today class--28/12/2024 Variables ,TASK1 ,TASK 2,Java Variables: A variable is a container which holds the value while the Java program is executed. A variable is assigned with a d...
Datatypes
Datatypes,Java is statically typed and also a strongly typed language because, in Java, each type of data (such as integer, character, hexadecimal, packed decimal, and so forth) is...
Objects
Objects,1. Object An object in Java is a basic unit of Object-Oriented Programming and represents real-life entities. Objects are the instances of a class that are created to use t...
TODAY CLASS-27/12/2024 ABOUT- STATE,DATATYPE.
TODAY CLASS-27/12/2024 ABOUT- STATE,DATATYPE.,Concept of Objects: State, Behavior & Identity of an object The concept of objects is fundamental to object-oriented programming (...
Create Class and Object
Create Class and Object, 1. How Object is created in Java? The object is a basic building block of an OOPs language. In Java, we cannot execute any program without creating an obje...
Today class—26/12/2024 Create class and object
Today class---26/12/2024 Create class and object,CLASS IN JAVA: It is an logical entity and also know as Template or Blueprint. Classes are abstract concepts that represent the def...
Task—-26/12/2024
Task----26/12/2024,1.Without Method definition Error: OUTPUT: 2.whatsapp chat: OUTPUT: 3.combine code for whatsapp chat and youtube: output for combine of both: 原文链接:Task----2...
Java basic program with expansion
Java basic program with expansion,Created a class as public class Library Created a object as Library books = new Library(); Object is memory representation of class. Most importan...
Day – 1 of Java
Day - 1 of Java, What is sudo? Sudo (Super User do) is a linux command that is used to temporarily execute programs as another user. It is the same as what we use in windows 'run a...
Day 12 Constructor in java:
Day 12 Constructor in java:,Constructor in java **Constructor will not have any return data type** **Constructor is usefull for initializing specific variables** **A constructor in...
Day-5 Example for Encapsulation
Day-5 Example for Encapsulation,public class Friend1 { String name; long mobileNo; private int atmPin; public Friend1(String name, long mobileNo, int atmPin) { this.name = name; th...
Day 11 Encupsulation
Day 11 Encupsulation,Input 1: class Friend1 { String name; long mobileNo; int atmPin; public Friend1(String name, long mobileNo, int atmPin) { this.name = name; this.mobileNo = mob...