radhakrishna

radhakrishna

62 Articles Published

Articles by radhakrishna

Page 7 of 7

What is the relationship between JavaScript, CoffeeScript, TypeScript, ES5, and ES6?

radhakrishna
radhakrishna
Updated on 30-Jul-2019 225 Views

JavaScriptThe base programming language in all these. ES5 and ES6 are just different versions of this languageCoffeeScriptCoffeeScript is a programming language which transcompiles to JavaScript. It’s a compiler layer on top of JavaScript.TypeScriptA language that compiles down to JavaScript. TypeScript is a method to create JavaScript code by writing it in the TypeScript dialect and compiles to JavaScript. TypeScript is a superset of JavaScript.ES5 and ES6CoffeeScript & TypeScript are the ones that support ES6 features. The compiler convert code into JavaScript (ES5). ES6 is next generation JavaScript.

Read More

How to access the members of a class from another class in Java?

radhakrishna
radhakrishna
Updated on 30-Jul-2019 13K+ Views

To access the members of a class from other class. First of all, import the class. Create an object of that class. Using this object access, the members of that class. Suppose there is a class in a package called myPackage with a method named display() package myPackage; public class Sample { public void display() { System.out.println("Hello"); } } You can access it as. import myPackage; public class MyClass { public static void main(String args[]) { Sample s = new Sample(); s.done(); } } Output hello

Read More
Showing 61–62 of 62 articles
« Prev 1 3 4 5 6 7 Next »
Advertisements