SlideShare uma empresa Scribd logo
1 de 39
Java and .net
• Java and .NET are known programming languages. These languages belong to different
platforms, Java is a Oracle Trademark, and Oracle licensed software programming
language, whereas .NET is a Microsoft's CLI executable environment and programming
language.
• Java is a famous open source programming language product of Oracle trademark. In
June 1991, James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java
language project. In 1995, Sun Microsystems released the first public implementation as
Java 1.0. Oracle provides it with the free and open source platform which comprises of
JDK (Java Development Kit). It works on the application of "write once, Run anywhere"
(WORA), which means that the code runs on one platform and further does not need to
be recompiled to run on another. It was rated as the top programming languages of
2012 series. Sun has also re-licensed most of its Java technologies under the GNU
General Public License.
The Java language creation is based on five most primary goals, that is:
• It should be "simple, object-oriented and familiar"
• It should be "robust and secure"
• It should be "architecture-neutral and portable"
• It should executed with "high performance"
• It should be "interpreted, threaded, and dynamic"
.net
• .NET is the most upcoming and advanced programming language in the computer
and IT sectors. Initially, Microsoft developed the .NET Framework in the late 1990s,
and named it originally as, Next Generation Windows Services (NGWS). Its first
beta version, .NET 1.0 was released in late 2000s.
• .NET framework usually pronounced as dot net, is a computer software framework
invented by Microsoft, and runs primarily on the Microsoft Windows OS
(Operating Systems). Its Framework's Base Class Library facilitates user interface,
data access, database connectivity, cryptography, web application development,
numeric algorithms, and network communications features. The language includes
a large library and is known to provide the language interoperability (which means
each language can use code written in other languages) across several
programming languages. .NET provides a software environment for the executable
.NET Framework programs. The language also includes a hardware environment,
known as the Common Language Runtime (CLR), which is an application virtual
machine. The .NET Framework is composed of class library and CLR. The .NET
developers produce software by combining their own source code with .NET
Framework and other libraries. The language is now applicable in most of the
recent developed applications like mobile, android, tablets and etc.
Cont..
Its Design features include:
• Interoperability
• Common Language Runtime engine
• Language independence
• Simplified deployment
• Security
• Portability
Difference
Java .NET
Web definitions Java is a computer
programming language
that is concurrent, class-
based, object-oriented,
and specifically designed to
have as few
implementation
dependencies as possible.
The .NET Framework is a
software framework
developed by Microsoft
that runs primarily on
Microsoft Windows. It
includes a large library and
provides language
interoperability across
several programming
languages
Inventors Oracle and Sun
Microsystem
Microsoft
Supports Java supports only Java
simple code and
programming patterns.
.NET is a runtime
framework that supports
multiple languages, Visual
Basic and C#.
Cont..
Java .NET
Runs on Java is platform
independent, that is, it
runs on several operating
systems including
Windows, Mac and Linux.
.NET is primarily for
Windows.
Virtual machines Here, JVM (Java Virtual
Machine) converts the
bytecode into machine
code.
Here, Microsoft's virtual
machine, converts the
bytecode to machine code.
Important components It comprises of JVM, JRE,
JDK, Java Applets, java
script and Swings.
It comprises of .NET
framework, composed of
Common Language
Runtime (CLR), virtual
machine, and various
applicative binary libraries.
Cont..
Java .NET
Garbage cleaning facility The Java provides a good
Garbage cleaning facility as
compared to. NET.
The Garbage cleaning
facility is not that efficient
in .NET as compared to
Java.
Extra features There are no such extra
features available in Java.
In .Net, a standard
development IDE
(Microsoft Visual Studio) is
available.
Versions JDK Alpha and Beta
JDK 1.0
JDK 1.1
J2SE 1.2
J2SE 1.3
.NET Framework 1.0
.NET Framework 1.1
.NET Framework 2.0
.NET Framework 3.0
.NET Framework 3.5
File Extensions java, .jav, .jad, .jar, .jsp,
.class
.asax, .ascx, .ashx, .asmx,
.aspx
Open new project
Reading from the keyboard
Cont..
Can’t intialize last cascaded variable
Cont..
Cont..
For loop
Cont..
Looping Backwards
The Do until loop
Do While loop
Using Switch Case
If Statement
Functions
Function without argument and no
return type
Function with argument and no return
type
Function with argument and return
type
Arrays in vb.net:Defining and using arrays
Using for each …Next
Passing Arrays as Parameters
Sorting an array
Multidimensional array
Structures
Collection and list
• A collection is an object. It contains references to
other objects. In this way VB.NET combines many
class instances and values together. With
collections we construct object models that
mirror real-world problems.
• List
You often need to store many elements in a
resizable array. You might not even know how
many elements are needed when you begin. The
List and ArrayList types are excellent for programs
with this requirement. The List type is best.
List
collection
Modules
• A Module statement defines a reference type available throughout its
namespace. A module (sometimes called a standard module)is similar to a
class but with some important distinctions. Every module has exactly one
instance and does not need to be created or assigned to a variable.
Modules do not support inheritance or implement interfaces. Notice that
a module is not a type in the sense that a class or structure is — you
cannot declare a programming element to have the data type of a module.
• You can use Module only at namespace level. This means the declaration
context for a module must be a source file or namespace, and cannot be a
class, structure, module, interface, procedure, or block. You cannot nest a
module within another module, or within any type. For more information,
see Declaration Contexts and Default Access Levels (Visual Basic).
• A module has the same lifetime as your program. Because its members
are all Shared, they also have lifetimes equal to that of the program.
• Modules default to Friend (Visual Basic) access. You can adjust their access
levels with the access modifiers. For more information, see Access Levels
in Visual Basic.
• All members of a module are implicitly Shared.
Cont..
• Declares the name of a module and introduces the definition of the
variables, properties, events, and procedures that the module
comprises.
[ <attributelist> ] [ accessmodifier ] Module name [ statements ]
End Module
Parts
attributelist Optional.
accessmodifier Optional. Can be one of the following:
Public
Friend
statements are Optional.
End Module Terminates the Module definition.
Object Oriented Programming
class
Inheritance
Module2
Module1

Mais conteúdo relacionado

Mais procurados

Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)Sujit Majety
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javaSaba Ameer
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONAjit Yadav
 
Java Introduction
Java IntroductionJava Introduction
Java Introductionjaveed_mhd
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Java Lover
 
Java presentation
Java presentationJava presentation
Java presentationsurajdmk
 
1 Introduction To Java Technology
1 Introduction To Java Technology 1 Introduction To Java Technology
1 Introduction To Java Technology dM Technologies
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA pptbrijesh kumar
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Languagejaimefrozr
 
Chapter 1. java programming language overview
Chapter 1. java programming language overviewChapter 1. java programming language overview
Chapter 1. java programming language overviewJong Soon Bok
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1Qualys
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core javaAisha Siddiqui
 

Mais procurados (20)

Features of java 02
Features of java 02Features of java 02
Features of java 02
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Java features
Java featuresJava features
Java features
 
Features of java
Features of javaFeatures of java
Features of java
 
Introduction to java technology
Introduction to java technologyIntroduction to java technology
Introduction to java technology
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
INTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATIONINTRODUCTION TO JAVA APPLICATION
INTRODUCTION TO JAVA APPLICATION
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Java presentation
Java presentationJava presentation
Java presentation
 
Java unit 1
Java unit 1Java unit 1
Java unit 1
 
1 Introduction To Java Technology
1 Introduction To Java Technology 1 Introduction To Java Technology
1 Introduction To Java Technology
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Chapter 1. java programming language overview
Chapter 1. java programming language overviewChapter 1. java programming language overview
Chapter 1. java programming language overview
 
Java presentation
Java presentation Java presentation
Java presentation
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
A seminar report on core java
A  seminar report on core javaA  seminar report on core java
A seminar report on core java
 

Semelhante a Vb.net basics 1(vb,net--3 year)

Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language Hitesh-Java
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java LanguagePawanMM
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to JavaDevaKumari Vijay
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxSuganthiDPSGRKCW
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdfAdiseshaK
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...MCM COmpetitive Classes
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptRajeshSukte1
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptCDSukte
 
Introduction to java
Introduction to  javaIntroduction to  java
Introduction to javaKalai Selvi
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unitgowher172236
 

Semelhante a Vb.net basics 1(vb,net--3 year) (20)

Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
 
Unit1 introduction to Java
Unit1 introduction to JavaUnit1 introduction to Java
Unit1 introduction to Java
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
 
Java
JavaJava
Java
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
What is-java
What is-javaWhat is-java
What is-java
 
J introtojava1-pdf
J introtojava1-pdfJ introtojava1-pdf
J introtojava1-pdf
 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
 
Introduction to java
Introduction to  javaIntroduction to  java
Introduction to java
 
Java chapter 1
Java   chapter 1Java   chapter 1
Java chapter 1
 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
 
Notes of java first unit
Notes of java first unitNotes of java first unit
Notes of java first unit
 
Java Intro
Java IntroJava Intro
Java Intro
 

Mais de Ankit Gupta

Biometricstechnology in iot and machine learning
Biometricstechnology in iot and machine learningBiometricstechnology in iot and machine learning
Biometricstechnology in iot and machine learningAnkit Gupta
 
Week2 cloud computing week2
Week2 cloud computing week2Week2 cloud computing week2
Week2 cloud computing week2Ankit Gupta
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture materialAnkit Gupta
 
Week 4 lecture material cc (1)
Week 4 lecture material cc (1)Week 4 lecture material cc (1)
Week 4 lecture material cc (1)Ankit Gupta
 
Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material ccAnkit Gupta
 
Week 1 lecture material cc
Week 1 lecture material ccWeek 1 lecture material cc
Week 1 lecture material ccAnkit Gupta
 
Mod05lec25(resource mgmt ii)
Mod05lec25(resource mgmt ii)Mod05lec25(resource mgmt ii)
Mod05lec25(resource mgmt ii)Ankit Gupta
 
Mod05lec24(resource mgmt i)
Mod05lec24(resource mgmt i)Mod05lec24(resource mgmt i)
Mod05lec24(resource mgmt i)Ankit Gupta
 
Mod05lec23(map reduce tutorial)
Mod05lec23(map reduce tutorial)Mod05lec23(map reduce tutorial)
Mod05lec23(map reduce tutorial)Ankit Gupta
 
Mod05lec22(cloudonomics tutorial)
Mod05lec22(cloudonomics tutorial)Mod05lec22(cloudonomics tutorial)
Mod05lec22(cloudonomics tutorial)Ankit Gupta
 
Mod05lec21(sla tutorial)
Mod05lec21(sla tutorial)Mod05lec21(sla tutorial)
Mod05lec21(sla tutorial)Ankit Gupta
 
Lecture29 cc-security4
Lecture29 cc-security4Lecture29 cc-security4
Lecture29 cc-security4Ankit Gupta
 
Lecture28 cc-security3
Lecture28 cc-security3Lecture28 cc-security3
Lecture28 cc-security3Ankit Gupta
 
Lecture27 cc-security2
Lecture27 cc-security2Lecture27 cc-security2
Lecture27 cc-security2Ankit Gupta
 
Lecture26 cc-security1
Lecture26 cc-security1Lecture26 cc-security1
Lecture26 cc-security1Ankit Gupta
 
Lecture 30 cloud mktplace
Lecture 30 cloud mktplaceLecture 30 cloud mktplace
Lecture 30 cloud mktplaceAnkit Gupta
 
Week 7 lecture material
Week 7 lecture materialWeek 7 lecture material
Week 7 lecture materialAnkit Gupta
 
Gurukul Cse cbcs-2015-16
Gurukul Cse cbcs-2015-16Gurukul Cse cbcs-2015-16
Gurukul Cse cbcs-2015-16Ankit Gupta
 
Microprocessor full hand made notes
Microprocessor full hand made notesMicroprocessor full hand made notes
Microprocessor full hand made notesAnkit Gupta
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptxAnkit Gupta
 

Mais de Ankit Gupta (20)

Biometricstechnology in iot and machine learning
Biometricstechnology in iot and machine learningBiometricstechnology in iot and machine learning
Biometricstechnology in iot and machine learning
 
Week2 cloud computing week2
Week2 cloud computing week2Week2 cloud computing week2
Week2 cloud computing week2
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture material
 
Week 4 lecture material cc (1)
Week 4 lecture material cc (1)Week 4 lecture material cc (1)
Week 4 lecture material cc (1)
 
Week 3 lecture material cc
Week 3 lecture material ccWeek 3 lecture material cc
Week 3 lecture material cc
 
Week 1 lecture material cc
Week 1 lecture material ccWeek 1 lecture material cc
Week 1 lecture material cc
 
Mod05lec25(resource mgmt ii)
Mod05lec25(resource mgmt ii)Mod05lec25(resource mgmt ii)
Mod05lec25(resource mgmt ii)
 
Mod05lec24(resource mgmt i)
Mod05lec24(resource mgmt i)Mod05lec24(resource mgmt i)
Mod05lec24(resource mgmt i)
 
Mod05lec23(map reduce tutorial)
Mod05lec23(map reduce tutorial)Mod05lec23(map reduce tutorial)
Mod05lec23(map reduce tutorial)
 
Mod05lec22(cloudonomics tutorial)
Mod05lec22(cloudonomics tutorial)Mod05lec22(cloudonomics tutorial)
Mod05lec22(cloudonomics tutorial)
 
Mod05lec21(sla tutorial)
Mod05lec21(sla tutorial)Mod05lec21(sla tutorial)
Mod05lec21(sla tutorial)
 
Lecture29 cc-security4
Lecture29 cc-security4Lecture29 cc-security4
Lecture29 cc-security4
 
Lecture28 cc-security3
Lecture28 cc-security3Lecture28 cc-security3
Lecture28 cc-security3
 
Lecture27 cc-security2
Lecture27 cc-security2Lecture27 cc-security2
Lecture27 cc-security2
 
Lecture26 cc-security1
Lecture26 cc-security1Lecture26 cc-security1
Lecture26 cc-security1
 
Lecture 30 cloud mktplace
Lecture 30 cloud mktplaceLecture 30 cloud mktplace
Lecture 30 cloud mktplace
 
Week 7 lecture material
Week 7 lecture materialWeek 7 lecture material
Week 7 lecture material
 
Gurukul Cse cbcs-2015-16
Gurukul Cse cbcs-2015-16Gurukul Cse cbcs-2015-16
Gurukul Cse cbcs-2015-16
 
Microprocessor full hand made notes
Microprocessor full hand made notesMicroprocessor full hand made notes
Microprocessor full hand made notes
 
Transfer Leaning Using Pytorch synopsis Minor project pptx
Transfer Leaning Using Pytorch  synopsis Minor project pptxTransfer Leaning Using Pytorch  synopsis Minor project pptx
Transfer Leaning Using Pytorch synopsis Minor project pptx
 

Último

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...vershagrag
 

Último (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 

Vb.net basics 1(vb,net--3 year)

  • 1. Java and .net • Java and .NET are known programming languages. These languages belong to different platforms, Java is a Oracle Trademark, and Oracle licensed software programming language, whereas .NET is a Microsoft's CLI executable environment and programming language. • Java is a famous open source programming language product of Oracle trademark. In June 1991, James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project. In 1995, Sun Microsystems released the first public implementation as Java 1.0. Oracle provides it with the free and open source platform which comprises of JDK (Java Development Kit). It works on the application of "write once, Run anywhere" (WORA), which means that the code runs on one platform and further does not need to be recompiled to run on another. It was rated as the top programming languages of 2012 series. Sun has also re-licensed most of its Java technologies under the GNU General Public License. The Java language creation is based on five most primary goals, that is: • It should be "simple, object-oriented and familiar" • It should be "robust and secure" • It should be "architecture-neutral and portable" • It should executed with "high performance" • It should be "interpreted, threaded, and dynamic"
  • 2. .net • .NET is the most upcoming and advanced programming language in the computer and IT sectors. Initially, Microsoft developed the .NET Framework in the late 1990s, and named it originally as, Next Generation Windows Services (NGWS). Its first beta version, .NET 1.0 was released in late 2000s. • .NET framework usually pronounced as dot net, is a computer software framework invented by Microsoft, and runs primarily on the Microsoft Windows OS (Operating Systems). Its Framework's Base Class Library facilitates user interface, data access, database connectivity, cryptography, web application development, numeric algorithms, and network communications features. The language includes a large library and is known to provide the language interoperability (which means each language can use code written in other languages) across several programming languages. .NET provides a software environment for the executable .NET Framework programs. The language also includes a hardware environment, known as the Common Language Runtime (CLR), which is an application virtual machine. The .NET Framework is composed of class library and CLR. The .NET developers produce software by combining their own source code with .NET Framework and other libraries. The language is now applicable in most of the recent developed applications like mobile, android, tablets and etc.
  • 3. Cont.. Its Design features include: • Interoperability • Common Language Runtime engine • Language independence • Simplified deployment • Security • Portability
  • 4. Difference Java .NET Web definitions Java is a computer programming language that is concurrent, class- based, object-oriented, and specifically designed to have as few implementation dependencies as possible. The .NET Framework is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperability across several programming languages Inventors Oracle and Sun Microsystem Microsoft Supports Java supports only Java simple code and programming patterns. .NET is a runtime framework that supports multiple languages, Visual Basic and C#.
  • 5. Cont.. Java .NET Runs on Java is platform independent, that is, it runs on several operating systems including Windows, Mac and Linux. .NET is primarily for Windows. Virtual machines Here, JVM (Java Virtual Machine) converts the bytecode into machine code. Here, Microsoft's virtual machine, converts the bytecode to machine code. Important components It comprises of JVM, JRE, JDK, Java Applets, java script and Swings. It comprises of .NET framework, composed of Common Language Runtime (CLR), virtual machine, and various applicative binary libraries.
  • 6. Cont.. Java .NET Garbage cleaning facility The Java provides a good Garbage cleaning facility as compared to. NET. The Garbage cleaning facility is not that efficient in .NET as compared to Java. Extra features There are no such extra features available in Java. In .Net, a standard development IDE (Microsoft Visual Studio) is available. Versions JDK Alpha and Beta JDK 1.0 JDK 1.1 J2SE 1.2 J2SE 1.3 .NET Framework 1.0 .NET Framework 1.1 .NET Framework 2.0 .NET Framework 3.0 .NET Framework 3.5 File Extensions java, .jav, .jad, .jar, .jsp, .class .asax, .ascx, .ashx, .asmx, .aspx
  • 8. Reading from the keyboard
  • 10. Can’t intialize last cascaded variable
  • 16. The Do until loop
  • 21. Function without argument and no return type
  • 22. Function with argument and no return type
  • 23. Function with argument and return type
  • 24. Arrays in vb.net:Defining and using arrays
  • 25. Using for each …Next
  • 26. Passing Arrays as Parameters
  • 30. Collection and list • A collection is an object. It contains references to other objects. In this way VB.NET combines many class instances and values together. With collections we construct object models that mirror real-world problems. • List You often need to store many elements in a resizable array. You might not even know how many elements are needed when you begin. The List and ArrayList types are excellent for programs with this requirement. The List type is best.
  • 31. List
  • 33. Modules • A Module statement defines a reference type available throughout its namespace. A module (sometimes called a standard module)is similar to a class but with some important distinctions. Every module has exactly one instance and does not need to be created or assigned to a variable. Modules do not support inheritance or implement interfaces. Notice that a module is not a type in the sense that a class or structure is — you cannot declare a programming element to have the data type of a module. • You can use Module only at namespace level. This means the declaration context for a module must be a source file or namespace, and cannot be a class, structure, module, interface, procedure, or block. You cannot nest a module within another module, or within any type. For more information, see Declaration Contexts and Default Access Levels (Visual Basic). • A module has the same lifetime as your program. Because its members are all Shared, they also have lifetimes equal to that of the program. • Modules default to Friend (Visual Basic) access. You can adjust their access levels with the access modifiers. For more information, see Access Levels in Visual Basic. • All members of a module are implicitly Shared.
  • 34. Cont.. • Declares the name of a module and introduces the definition of the variables, properties, events, and procedures that the module comprises. [ <attributelist> ] [ accessmodifier ] Module name [ statements ] End Module Parts attributelist Optional. accessmodifier Optional. Can be one of the following: Public Friend statements are Optional. End Module Terminates the Module definition.
  • 36. class