Different Types of LED Available

Prasanna Kotamraju
Updated on 26-Jun-2020 17:09:47

264 Views

LEDs (Light emitting diodes) are very widely used in today's electronics equipment and they are ruling the world's display technologies today. LED's are used for much electronic equipment. Mostly they are used as panel indicators on televisions, radios and other domestic electronic and industrial equipment. There are different types of LEDs.Traditional inorganic LEDs − These are used for small LED lamps, panel indicators etc.,High brightness LEDs − These are used for domestic lighting.Organic LEDs − Organic LEDs uses organic materials and are replacing the traditional types of LEDs with increased efficiency.

Free Options to Generate Closed Captions from Audio/Video

Prasanna Kotamraju
Updated on 26-Jun-2020 17:08:20

107 Views

There are some free options available to generate closed captions from Audio/Video.Amara − Amara is one such tool. It is very easy to learn and provides the best platform to create captions from scratch.Youtube − Youtube is the most popular tool which is available for free. It has great features to create captions.Subtitle Edit − This is a free tool which has to be downloaded on your laptop and desktop and you can start using it even offline.

Job Opportunities in Electronics and Communication

Prasanna Kotamraju
Updated on 26-Jun-2020 16:59:10

165 Views

A graduate of Electronics and communications engineering have a lot of opportunities as the subject is very vast. People can take one of the fields related to EC and become an expert in that and then explore the opportunities in that area. Apart from their core field, electronics engineers have a lot of openings in IT sector also.An EC engineer can explore opportunities from top recruiters like Siemens, Motorola, Intel, Tech Mahindra, BHEL, Flextronics and Government sector like Indian Airforce, Navy and also Railways.

Delete Data in MySQL Database with Java

Arjun Thakur
Updated on 26-Jun-2020 16:58:25

5K+ Views

Delete data from a MySQL database with the help of DELETE command. The syntax is as follows.delete from yourTableName where condition;I will delete data from a MySQL database with the help of JAVA programming language. First, create a table and insert some records. The following is the query to create a table.mysql> create table DeleteTableDemo    -> (    -> id int,    -> Name varchar(200)    -> ); Query OK, 0 rows affected (0.94 sec)Insert records in the above table. The query to insert records is as follows.mysql> insert into DeleteTableDemo values(101, 'Smith'); Query OK, 1 row affected (0.21 ... Read More

Copy Characters from String into Char Array in Java

karthikeya Boyini
Updated on 26-Jun-2020 16:50:47

1K+ Views

Let’s say we have the following string.String str = "Demo Text!";To copy some part of the above string, use the getChars() method.// copy characters from string into chArray =str.getChars( 0, 5, chArray, 0 );The following is an example to copy characters from string into char Array in Java.Example Live Demopublic class Demo {    public static void main(String[] args) {       String str = "Demo Text!";       char chArray[] = new char[ 5 ];       System.out.println("String: "+str);       // copy characters from string into chArray       str.getChars( 0, 5, chArray, 0 ... Read More

Convert Integer to Binary String in Java

Samual Sam
Updated on 26-Jun-2020 16:33:49

5K+ Views

The Integer.toBinaryString() method in Java converts int to binary string.Let’s say the following are our integer values.int val1 = 9; int val2 = 20; int val3 = 2;Convert the above int values to binary string.Integer.toBinaryString(val1); Integer.toBinaryString(val2); Integer.toBinaryString(val3);Example Live Demopublic class Demo {    public static void main(String[] args) {       int val1 = 9;       int val2 = 20;       int val3 = 30;       int val4 = 78;       int val5 = 2;       System.out.println("Converting integer "+val1+" to Binary String: "+Integer.toBinaryString(val1));       System.out.println("Converting integer "+val2+" to ... Read More

Convert Integer to Octal String in Java

karthikeya Boyini
Updated on 26-Jun-2020 16:32:50

712 Views

The Integer.toOctalString() method in Java converts int to octal string.Let’s say the following are our integer values.int val1 = 9; int val2 = 20; int val3 = 2;Convert the above int values to octal string.Integer.toOctalString(val1); Integer.toOctalString(val2); Integer.toOctalString(val3);Example Live Demopublic class Demo {    public static void main(String[] args) {       int val1 = 9;       int val2 = 20;       int val3 = 30;       int val4 = 78;       int val5 = 2;       System.out.println("Converting integer "+val1+" to Octal String:       "+Integer.toOctalString(val1));       System.out.println("Converting ... Read More

Get Characters in a String as an Array of Bytes in Java

Samual Sam
Updated on 26-Jun-2020 16:30:00

361 Views

To get the characters in a string as an array of bytes, use the getBytes() method.Let’s say we have the following string.String str = "Demo Text!";Convert it to array of bytes.byte[] arr = str.getBytes();Example Live Demopublic class Demo {    public static void main(String[] args) {       String str = "Demo Text!";       // getting as an array of bytes       byte[] arr = str.getBytes();       // displaying each character as a Byte value       for(byte res: arr) {          System.out.println(res);       }    } }Output68 101 109 111 32 84 101 120 116 33

Convert a String to a Byte Number in Java

Samual Sam
Updated on 26-Jun-2020 16:27:46

236 Views

Use the parseByte() method in Java to convert a String to a byte.Let’s say the following is our string −String str = “76”;Now, the parseByte() method converts the string to byte −byte val = Byte.parseByte(str);The following is an example −Example Live Demopublic class Demo {     public static void main(String[] args) throws Exception {        String str = "76";        byte val = Byte.parseByte(str);        System.out.println(val);     } }Output76

Convert String to Short Number in Java

karthikeya Boyini
Updated on 26-Jun-2020 16:21:34

299 Views

Use the Short.parseShort() method in Java to convert a String to a short.Let’s say the following is our string.String str = “76”;Now, the parseShort() method will convert the string to short.byte val = Byte.parseByte(str);Example Live Demopublic class Demo {     public static void main(String[] args) {        String str = "76";        short val = Short.parseShort(str);        System.out.println(val);     } }Output76

Advertisements