Which of the following methods of the Java String class is deprecated?
a) getBytes(String)
b) getBytes(int, int,byte[],int)
c) getBytes(int,int,char[],int)
d) getBytes(charset)
Created by Nancy K.A.N.
@11:44 18-09-2025
Which of the following methods of the Java String class is deprecated?
a) getBytes(String)
b) getBytes(int, int,byte[],int)
c) getBytes(int,int,char[],int)
d) getBytes(charset)
Created by Nancy K.A.N.
@11:44 18-09-2025
I am Nancy. I worked in the IT sector for many years in different roles and so was in life. I created Digital technical content for many years later in my career. I have created YouTube channels for Cooking Recipes, Programming, and Nature.
I recently published a Couring books for Adults.