JAVA PROGRAMMING EXAMPLES Here are the programming examples of JAVA which are discussed in the video lecture of Advanced JAVA programming. Concept of Collection and Interface Introductory program import java.util.*; public class CollectionInterfaceExample { public static void main(String[] args) { // Creating a List List<String> namesList = new ArrayList<>(); namesList.add("Yeshwant "); namesList.add("Mahavidyalaya"); namesList.add("Nanded"); namesList.add("(MS)"); System.out.println("List elements:"); for (String name : namesList) { System.out.println(name); } // Creating a Set Set<Integer> numbersSet = n...
Posts
Programs
- Get link
- X
- Other Apps
PROGRAMS DESCRIBED IN DAY 4 VIDEO ON YOUTUBE Program 1 : Program to describe for loop //Program to describe for loop #include<iostream.h> #include<conio.h> void main() { int i; clrscr(); for(i=1;i<=10;i++) cout<<i<<endl; getch(); } ---------------------------------------------------------------------------------------------------------------------- Program 2 : Program to describe while loop //Program to describe for loop #include<iostream.h> #include<conio.h> void main() { int i,sum=0; clrscr(); for(i=1;i<=10;i++) { cout<<i<<endl; sum=sum+i; } cout<<"\n Addition of all numbers from 1 to 10 is "<<sum; getch(); } -------------------------------------------------------------------------------------------------...
- Get link
- X
- Other Apps
Object Oriented Programming using C++ Day 1 - Introduction : OBJECT-ORIENTED PROGRAMMING PARADIGM The first object-oriented language Simula was developed in 1960 by researchers at the Norwegian Computing Center. In 1970, Alan Kay and his research group created a personal computer named Dynabook and the first pure object-oriented programming language (OOPL) - Smalltalk, for programming the Dynabook. In the 1980s, Ada. Object Oriented Programming language was developed. In the 1990s, Coad incorporated behavioral ideas into object-oriented methods. OBJECT ORIENTED ANALYSIS ObjectโOriented Analysis (OOA) is the procedure of identifying the requirements for the program In the Object-oriented approach, requirements are organized around objects, which integrate both data and functions. They are modeled after real-world objects that the system interacts with. In traditional analysis methodologies, the two aspects - functions and data - are considered separately. According to Grady B...
- Get link
- X
- Other Apps

10 Days Holiday Course in C++ Hey there, tech enthusiasts! ๐ Are you ready to level up your programming game? Today, I'm super stoked to talk about the incredible world of C++! ๐๐ฅ๏ธ If you're passionate about coding and want to dive into the depths of software development, C++ is an absolute must-learn language! ๐ฏ๐ก It's like the superstar of programming, blending power, flexibility, and speed like no other. With C++, you can create mind-blowing applications, games, and even systems-level software. ๐ฎ๐โจ So, whether you're a newbie or a seasoned developer looking to expand your skillset, buckle up because C++ is about to blow your mind! Get ready to unleash your creativity and conquer the programming universe! ๐๐ป * Youtube streaming or recording * Personalized Notes * Examinations on every step. Join the course : https://forms.gle/KEo7brjpTZRHRaxo6
SOME C PROGRAMS (As discussed in Youtube live on 16/04/2023)
- Get link
- X
- Other Apps
PROGRAMS 1. Program to read and display the string. #include<stdio.h> #include<conio.h> void main() { char n[20]; clrscr(); printf(""Enter your nane :"); scanf("%s",n); printf("\nEntered value of string is %s",n); getch(); } ________________________________________________________________________________ 2. Program to copy one string to another string #include<stdio.h> #include<conio.h> #include<string.h> void main() { char m[20],n[20]; clrscr(); printf(""Enter First String:"); scanf("%s",m); strcpy(n,m); printf("\nNow after copy second string is %s",n); getch(); } __________________________________________________________________________________ 3. Program to compare two strings (With Case sensitivity) #include<stdio.h> #include<conio.h>...
DECISION MAKING STATEMENTS IN C
- Get link
- X
- Other Apps
Decision Making Statements : if, if else,nested if, switch statement if STATEMENT if is most basic statement of Decision making statement. It tells to program to execute a certain part of code only if particular condition or test is true. Syntax if(<condition>) [ Statement or block of statements]; Example #include<stdio.h> #include<conio.h> void main() { int a=9; if(a<10) { printf(โa is less than 10โ); } getch(); } Output a is less than 10 Constructing the body of "if" statement is always optional, Create the body when we are having multiple statements. For a single statement, it is not required to specify the body. If the body is not specified, then automatically condition part will be terminated with next semicolon ( ; ). if -else STATEMENT It is a keyword, by using this keyword we can create a alternative block for if part. Using else is always optional i.e, it is recommended to use when we are having alternate block of condition. In any prog...