Differences between Java and Visual Basic? Watch

SummerPi
Badges: 10
Rep:
?
#1
Report Thread starter 5 years ago
#1
I was wondering if someone could highlight the main differences between Visual Basic and Java for me?
I've only just started programming in Java so I'm not a pro but I feel quite confident with Visual Basic.
0
reply
Crimsonyte
Badges: 0
Rep:
?
#2
Report 5 years ago
#2
Well really all programming languages are essentially very similar! You get different levels of programming languages though! Languages like C++ are called low level, because they tend
to mess with things based on bits and memory, whereas a language like C# or Visual basic is more high level, management based. I guess the main difference is that Java tends to be more low level than Visual Basic. Also, Java gives you more opportunity to utilise object oriented programming, if you like abstract code! There are some really good tutorials on Java out there!
0
reply
Chrosson
Badges: 2
Rep:
?
#3
Report 5 years ago
#3
(Original post by Crimsonyte)
Well really all programming languages are essentially very similar! You get different levels of programming languages though! Languages like C++ are called low level, because they tend
to mess with things based on bits and memory, whereas a language like C# or Visual basic is more high level, management based. I guess the main difference is that Java tends to be more low level than Visual Basic. Also, Java gives you more opportunity to utilise object oriented programming, if you like abstract code! There are some really good tutorials on Java out there!
Interesting post. I would say
- Programming languages may be similar or incredibly different. The variation is quite incredible. Consider assembly, c, java, lisp, haskell, verilog...all very different.
- Java and Visual Basic (.NET) are very similar indeed. The main difference is in a) syntax and b) libraries. Why do you think Java is lower level? VB is very much an OO language as well.
0
reply
VisualKiddy
Badges: 2
Rep:
?
#4
Report 5 years ago
#4
(Original post by Crimsonyte)
Well really all programming languages are essentially very similar! You get different levels of programming languages though! Languages like C++ are called low level, because they tend
to mess with things based on bits and memory, whereas a language like C# or Visual basic is more high level, management based. I guess the main difference is that Java tends to be more low level than Visual Basic. Also, Java gives you more opportunity to utilise object oriented programming, if you like abstract code! There are some really good tutorials on Java out there!
VB.net is just as OO as Java.

(Original post by Chrosson)
Interesting post. I would say
- Programming languages may be similar or incredibly different. The variation is quite incredible. Consider assembly, c, java, lisp, haskell, verilog...all very different.
- Java and Visual Basic (.NET) are very similar indeed. The main difference is in a) syntax and b) libraries. Why do you think Java is lower level? VB is very much an OO language as well.
I'd assume he's getting at the fact that Java lets mess with memory directly.
0
reply
Chrosson
Badges: 2
Rep:
?
#5
Report 5 years ago
#5
(Original post by VisualKiddy)
VB.net is just as OO as Java.

I'd assume he's getting at the fact that Java lets mess with memory directly.
This would be a bit odd given Java is garbage collected. Source/example?
0
reply
VisualKiddy
Badges: 2
Rep:
?
#6
Report 5 years ago
#6
(Original post by Chrosson)
This would be a bit odd given Java is garbage collected. Source/example?
Not enormously familiar with it, but I'm half sure Java has some variety of 'Unsafe' a la C#.
0
reply
SummerPi
Badges: 10
Rep:
?
#7
Report Thread starter 5 years ago
#7
Thanks for all the replies guys


Posted from TSR Mobile
0
reply
SummerPi
Badges: 10
Rep:
?
#8
Report Thread starter 5 years ago
#8
Are the platforms they run on a main difference as well? I thought I read that somewhere...


Posted from TSR Mobile
0
reply
Chrosson
Badges: 2
Rep:
?
#9
Report 5 years ago
#9
(Original post by SummerPi)
Are the platforms they run on a main difference as well? I thought I read that somewhere...

Posted from TSR Mobile
Java is designed to be 'write once run anywhere' and manages to do this fairly well (old nokia phones could run a(n old) version of java, android apps are Java I believe). OSX, Linux, Windows all work fine (as long as you don't deliberately write something that will only work in one place, e.g. the "C:" drive is only a valid concept in Windows.

VB is only supported by Microsoft on Windows. If you're brave you can try the Mono project for Linux and OSX support, but it's definitely not as easy to move across as with Java.
0
reply
hitler222222
Badges: 1
Rep:
?
#10
Report 6 months ago
#10
hitler
0
reply
manisha misal
Badges: 1
Rep:
?
#11
Report 4 months ago
#11
Visual Basic came from Microsoft; java came from Sun Microsystems and is now owned by Oracle.
Visual Basic is imperative/procedural with weak support for objects; Java is entirely an object-oriented language.
Visual Basic syntax derives from Algol; Java syntax derives from C.
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • Arts University Bournemouth
    Art and Design Foundation Diploma Further education
    Sat, 25 May '19
  • SOAS University of London
    Postgraduate Open Day Postgraduate
    Wed, 29 May '19
  • University of Exeter
    Undergraduate Open Day - Penryn Campus Undergraduate
    Thu, 30 May '19

How did your AQA GCSE Physics Paper 1 go?

Loved the paper - Feeling positive (301)
30.9%
The paper was reasonable (394)
40.45%
Not feeling great about that exam... (158)
16.22%
It was TERRIBLE (121)
12.42%

Watched Threads

View All