this ppt contains history and basic facts of object oriented programming language java, difference between JIT, JVM, JRE and JDK. it also having information about different versions of java. advantages over other language, difference between error and exception with its types is also included. explanation of final variable and string to int conversation is also added. in the end some twisted question of it which sharpen the knowledge of its basic are added. beyond this some programming examples with output is there too. hope u find it useful...!! thanku..!!
Spring Data is a high level SpringSource project whose purpose is to unify and ease the access to different kinds of persistence stores, both relational database systems and NoSQL data stores.
This ppt gives a general idea about the multithreading concepts in the java programming language. hope you find it useful
P.S :
sorry there is a correction in one of the slides
where i have entered implements thread
it is wrong it is actually implements Runnable
thank you!
JavaScript - An Introduction is a beginner's guide to JavaScript. It starts with very basic level and goes to intermediate level. You'll be introduced with every language constructs, Event handling, Form handling and AJAX which is supported by JavaScript with XMLHttpRequest object. This XHR object is discussed in enough detail so that you can understand how the underlying AJAX functionality works in jQuery. At the end it discusses advance concepts and library build on/around JavaScript.
Spring Data is a high level SpringSource project whose purpose is to unify and ease the access to different kinds of persistence stores, both relational database systems and NoSQL data stores.
This ppt gives a general idea about the multithreading concepts in the java programming language. hope you find it useful
P.S :
sorry there is a correction in one of the slides
where i have entered implements thread
it is wrong it is actually implements Runnable
thank you!
JavaScript - An Introduction is a beginner's guide to JavaScript. It starts with very basic level and goes to intermediate level. You'll be introduced with every language constructs, Event handling, Form handling and AJAX which is supported by JavaScript with XMLHttpRequest object. This XHR object is discussed in enough detail so that you can understand how the underlying AJAX functionality works in jQuery. At the end it discusses advance concepts and library build on/around JavaScript.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
Java is Object Oriented Programming. Java 8 is the latest version of the Java which is used by many companies for the development in many areas. Mobile, Web, Standalone applications.
Once upon a time in the C++ century, the Great King of Sun said people need Duke, The PDA (a medieval version of a tablet). He picked his bravest knights – Naughton, Sheriden and Gosling – and entrusted them a secret mission to travel the universe in search for a perfect language that Duke can use.
After three years of a dangerous journey in a world of bits, bytes and memory leakages, on an Asian isle they found it. Java made of Oak has been discovered.
When they returned the King was not in power anymore. New world was ruled by a mysterious organisation, World Wide Web. Our brave knights honoured it with the glorious Java. And the world became perfect…
Mani and Rafal will take your through an exciting story of great programmers, multi-billion company wars, and - most importantly – language features. The history of Java, from its inception till just about today.
oops concept in java | object oriented programming in javaCPD INDIA
object oriented programming is a key concept for the development of application in windows as well as web based application environment. oops concept maps real world through its concept of classes, objects, inheritance, polymorphism which help in making a robust application.
Java is Object Oriented Programming. Java 8 is the latest version of the Java which is used by many companies for the development in many areas. Mobile, Web, Standalone applications.
Once upon a time in the C++ century, the Great King of Sun said people need Duke, The PDA (a medieval version of a tablet). He picked his bravest knights – Naughton, Sheriden and Gosling – and entrusted them a secret mission to travel the universe in search for a perfect language that Duke can use.
After three years of a dangerous journey in a world of bits, bytes and memory leakages, on an Asian isle they found it. Java made of Oak has been discovered.
When they returned the King was not in power anymore. New world was ruled by a mysterious organisation, World Wide Web. Our brave knights honoured it with the glorious Java. And the world became perfect…
Mani and Rafal will take your through an exciting story of great programmers, multi-billion company wars, and - most importantly – language features. The history of Java, from its inception till just about today.
you might found ppt about remote sensing easily but this is perticularly made about remote sensors..
it includes it all types like active and passive sensor..
optimization of DFA ,compiler design,minimisation of DFA,DFA optimization,equivalence state removal,DFA optimization,partition method for DFA minimization
first ever presentation containing basic information about Intrusion Detection System and Intrusion Prevention System with advantages and disadvantages...
specially bibliography attached for engineering students.
it also contains 2013 powerpoint graphics.
hope it may helpful to u all.. your suggestions will be always welcomed..
this is presentation about light emitting diode. it includes it working, figure and application. also shows the live example of led. it also contains its preference website..
any changes suggested are welcomed..
In this cheat sheet, you can find object oriented programming concept's fundamentals very easily. Some topics has very details explanations that could be very helpful those who is in entry level in java mostly object oriented world.
Miller Columns (used in iPhone and Mac Finder) are an elegant way of displaying and navigating a tree. This talk describes a JavaScript implementation of Miller Columns, and why JavaScript needs modules and a standard library.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
it describes the bony anatomy including the femoral head , acetabulum, labrum . also discusses the capsule , ligaments . muscle that act on the hip joint and the range of motion are outlined. factors affecting hip joint stability and weight transmission through the joint are summarized.
How to Build a Module in Odoo 17 Using the Scaffold MethodCeline George
Odoo provides an option for creating a module by using a single line command. By using this command the user can make a whole structure of a module. It is very easy for a beginner to make a module. There is no need to make each file manually. This slide will show how to create a module using the scaffold method.
MATATAG CURRICULUM: ASSESSING THE READINESS OF ELEM. PUBLIC SCHOOL TEACHERS I...NelTorrente
In this research, it concludes that while the readiness of teachers in Caloocan City to implement the MATATAG Curriculum is generally positive, targeted efforts in professional development, resource distribution, support networks, and comprehensive preparation can address the existing gaps and ensure successful curriculum implementation.
Thinking of getting a dog? Be aware that breeds like Pit Bulls, Rottweilers, and German Shepherds can be loyal and dangerous. Proper training and socialization are crucial to preventing aggressive behaviors. Ensure safety by understanding their needs and always supervising interactions. Stay safe, and enjoy your furry friends!
How to Fix the Import Error in the Odoo 17Celine George
An import error occurs when a program fails to import a module or library, disrupting its execution. In languages like Python, this issue arises when the specified module cannot be found or accessed, hindering the program's functionality. Resolving import errors is crucial for maintaining smooth software operation and uninterrupted development processes.
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
2. Facts and history
Who invented java?
James Gosling
Where?
Sun lab also known as sun micro
system.
When?
Around 1992, published in 1995.
What is first name at a time of invention?
“oak”, from the name of tree outside
the window of James.
3. Facts and history
Why the name “java” and the symbol a “coffee cup”?
Some issues with the name “oak”.
Seating in the local café.
Wounded up with the name “java”.
From the cup of coffee.
What is the relation with c/c++?
Java was created as a successor to C++ in order
to address various problems of that language
4. Features of java
Compiled and interpreted
Source code byte code and byte code machine code
Platform independent and portable
Can be run on any platform
Secure
Ensures that no virus is communicated with applet
Distributed
Multiple programmers at different remote locations can collaborate and work together
High performance
Faster execution speed
Multi language supported
Dynamic and extensible
New class library, classes and methods can be linked dynamically
5. JIT, Jvm, jre and jdk
JIT
Just-In-Time
Component of JRE
Improves the performance
JVM
Provides runtime environment in which java byte
code is executed.
Compilation + interpretation
Not physically present
JRE
Runtime environment
Implementation of JVM
Contains a libraries + other files
JDK
JRE + development tools
Bundle of softwares
7. Advantages over c/c++
Improved software maintainability
Faster development
Lower cost of development
Higher quality software
Use of notepad makes it easier
Supports method overloading and overriding
Errors can be handled with the use of Exception
Automatic garbage collection
8. STARTING THE BASICS…
File name: Abc.java
Code:
class abc
{
public static void main(String args[])
{
System.out.print("hello, how are you all??");
}
}
9. Meaning of each term
Public: visibility mode
Static: to use without creating object
Void: return type
String: pre-defined class
Args: array name
System: pre-defined class
Out: object
Print: method
Make sure:
No need of saving file with initial capital
letter
File name can be saved with the different
name of class name
10. String to integer and double
class conv
{
public static void main(String a[])
{
int a;
String b="1921";
double c;
a=Integer.parseInt(b);
System.out.println(a);
c=Double.parseDouble(b);
System.out.println(c);
}
}
11. Final variable
Value that will be constant through out the program.
Can not assign another value.
Study following program.
class fin
{
public static void main(String a[])
{
final int a=9974;
System.out.print(a);
a=759;
System.out.print(a);
}
}
12. Errors and exception
What is the difference???
Errors
Something that make a program go wrong.
Can give unexpected result.
Types:
Compile-time errors
Run-time errors
Exception
Condition that is caused by a run-rime error in the program.
Ex. Dividing by zero.
Interpreter creates an exception object and throws it.
13. errors
Compile-time Error
Occurs at the time of compilation.
Syntax errors
Detected and displayed by the interpreter.
.class file will not be created
For successful compilation it need to be fixed.
For ex. Missing semicolon or missing brackets.
14. More examples
Misspelling of identifier or keyword
Missing double quotes in string
Use of undeclared variable
Use of = in place of == operator
Path not found
Changing the value of variable which is declared final
15. errors
Run-time Error
Program compile successfully
Class file also generated.
Though may not run successfully
Or may produce wrong o/p due to wrong logic
Error message generated
Program aborted
For ex. Divide by zero.
16. More examples
Accessing an element that is out of bound of an array.
Trying to store a value into an array of an incompatible class or type.
Passing a parameter that is not in a valid range.
Attempting to use a negative size for an array.
Converting invalid string to a number
Accessing a character that is out of bound of a string.
17. class Err
{
public static void main(String bdnfs[])
{
int a=50,b=10,c=10;
int result=a/(b-c);
System.out.print(result);
int res=a/(b+c);
System.out.print(res);
}
}
WHICH ONE IS THIS??
18. exception
Caused by run-time error in the program.
If it is not caught and handled properly, the interpreter will display an error message.
Ex. ArithmeticException
ArrayIndexOutOfBoundException
FileNotFoundException
OutOfMemoryExcepion
SecurityException
StackOverFlowException
19. Exception HANDLING
In previous program , if we want to continue the execution with the remaining
code, then we should try to catch the exception object thrown by error condition
and then display an appropriate message for taking correct actions.
This task Is known as Exception Handling.
The purpose of this is to provide a means to detect and report circumstances.
So appropriate action can be taken
It contains 4 sub tasks.
Find the problem(Hit)
Inform that error has occurred(Throw)
Receive the error Information(Catch)
Take corrective action(Handle)
21. example
class Err2
{
public static void main(String bdnfs[])
{
int a=50,b=10,c=10;
int result,res;
try
{
result=a/(b-c);
}
catch (ArithmeticException e)
{
System.out.println("can not divided by zero ");
}
res=a/(b+c);
System.out.print(res);
}
}
22. Multiple catch statements
………………………….
………………………….
Try
{
statements; // generates an Exception
}
Catch (Exception-type-1 e)
{
statements; // processes the Exception type 1
}
Catch (Exception-type-2 e)
{
statements; // processes the Exception type 2
}
.
.
.
.
Catch (Exception-type-N e)
{
statements; // processes the Exception type N
}
………………………....
…………………………
23. Finally statement
Finally statement is supported by Java to handle a type of exception
that is not handled by catch statement.
It may be immediately added after try block or after the last catch
block.
Guaranteed to execute whether the exception Is thrown or not.
Can be used for performing certain house-keeping operation such a
closing files and realizing system resources.
Syntax for using finally statement is shown in next slide.
24. Syntax
Try
{
…………..
…………..
}
Catch (……….)
{
…………..
…………..
}
Finally
{
…………..
…………..
}
Decide according to
program that
whether to use catch
block or not…
25. class Err3
{
public static void main(String bdnfs[])
{
int a[]={50,100};
int x=5;
try
{
int p=a[2]/(x-a[0]);
}
finally
{
int q=a[1]/a[0];
System.out.println(q);
}
}
}
example
26. Some puzzles..
String mesg = “Answer is “; int sum = 1 + 2; System.out.println(mesg + sum);
Output: “Answer is 3”
int sum = 5; sum = sum + sum *5/2; System.out.println(sum);
Output: 17
int limit = 25; int count = 30; int total = 200; count *=5; limit -=5; total +=count
+ limit; System.out.println("total =" + total);
Output: 370
String str1 = "Java"; String str2 = "Java program"; String str3 = "program";
char c = ' '; String s1 = str1 + str3; String s2 = str1 + "c"; String s3 = str1 + c;
String s4 = “ “; s4 += str1; String s5 = s4 + str3;
Output: “Javac”