Chapter 1  ---


   Short notes - 
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// _________ 1.Class And Functions ________
// Class ke ander function class ke ander void main naam ka function
// Function -- Aak type ka code hai jisko hm call kr skte hain
// Class -- Group of function (JIske ander bhot sare function ho skte hain )
// _________ 2. Naming Convensions in Java _______
//For Classes we use PascalConventions - iska mtlb phela word capital baki small
//For Functions we use camalCaseConvenstions - isme phela small phir baki sare capital
//System.out.println("Hello World");
// --------- 3. Adding Numbers in Java -------
//int num1 = 22;
//int num2 = 23 ;
//int num = 44;
//int sum = num1+ num2+num ;
//System.out.println(sum);
// --------- 4. Inputs From Users ----------
// Phela use import.java.util.Scanner ;
//System.out.println("Taking entre from user");
//Scanner sc = new Scanner(System.in);
//System.out.println("Enter Number 1 = ");
//int a = sc.nextInt();
//System.out.println("Entre Number 2 = ");
//int b = sc.nextInt();
//int sum = a+b ;
//System.out.println("The Sum of these numbers are = " + sum);
// ------- 5 . Checking the number is integer or not -------
//System.out.println("Enter value you want to check ");
//Scanner sc = new Scanner(System.in);
//System.out.println("Enter number 1 = ");
//boolean b1 = sc.hasNextInt() ;
//System.out.println(b1);
// Aak scanner class banye usme imput liya system.in krke
// phir boolean naam ka variable bnaya jiska kaam hoye hai true ya false btana
// sc mtlb scanner hasNextInt mltb jo value entre kri hai woh int hai ya nhi
//**IMP ** next only used for reading one word Whereas nextLine is used for reading one complete line


// EXERCISE 1 ___________________________
// Write a Program to calculate percentage of a given student in CBSC Boards exam . His marks from 5 Subjects must be taken as input from the keyboard
//System.out.println("Perecntage of students in CBSE");
//Scanner sc = new Scanner (System.in);
//System.out.println("Entre number of Subjects ");
//int total = sc.nextInt();
//System.out.println("Entre marks in English = ");
//int Eng = sc.nextInt();
//System.out.println("Entre marks in Hindi = ");
//int Hindi = sc.nextInt();
//System.out.println("Entre marks in Maths = ");
//int Maths = sc.nextInt();
//System.out.println("Entre marks in Science = ");
//int Science = sc.nextInt();
//System.out.println("Entre marks in Social Science ");
//int Social = sc.nextInt();
//int TotalMarks = Eng+Hindi+Maths+Science+Social ;
//int per = TotalMarks/total;


   Code with Harry notes __